$OpenBSD: patch-libjava_prims_cc,v 1.1 2012/10/17 19:58:21 kurt Exp $
--- libjava/prims.cc.orig	Tue Oct  9 14:44:51 2012
+++ libjava/prims.cc	Tue Oct  9 14:45:14 2012
@@ -1143,7 +1143,7 @@ namespace gcj
   bool verifyClasses = true;
 
   // Thread stack size specified by the -Xss runtime argument.
-  size_t stack_size = 0;
+  size_t stack_size = 768*1024;
 
   // Start time of the VM
   jlong startTime = 0;
